package cn.webrx;

import java.util.Date;

public class Ex5 {
    public static void main(String[] args) {
        Date d = new Date();

        System.out.printf("%tF %<tT 5天前日期：%2$tF %<tT%n",d,d.getTime() - (1000*60*60*24*5));
    }
}
